<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <link rel="stylesheet" type="text/css" href="__CSS__/main.css" />
    <link rel="stylesheet" type="text/css" href="__CSS__/common.css" />
    <link rel="stylesheet" type="text/css" href="__CSS__/bootstrap.min.css" />
    <script type="text/javascript" src="__EXTEND__/lib/jquery/1.9.1/jquery.min.js"></script>
    <script type="text/javascript" src="__EXTEND__/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="__EXTEND__/lib/layer/2.4/layer.js"></script>
    <![endif]-->
    <title></title>
</head>
<body>
<div class="contant">
<div class="row">
        <div class="top">首页>添加GPS</div>
        <div class="content">
        <form class="form-horizontal" method="post">
            <div class="box">
                <h1>添加<span>(标*为必填项)</span></h1>
                <div class="list-block">
                    <input type="hidden" name="user_id" value={$_GET['user_id']}>
                    <!-- <div class="form-group">
                        <label for="rate" class="col-sm-2 control-label">供应商</label>
                        <div class="col-sm-10">
                          <input name="rate" type="text" class="form-control" id="rate" value={$info.rate}>
                        </div>
                    </div> -->
                    <div class="form-group">
                        <label for="device-number" class="col-sm-2 control-label">设备编号</label>
                        <div class="col-sm-10">
                            <select id="device-number" name="device_number" class="form-control">
                            <foreach name="gpsEquipments" item="_gps" >
                                <option value={$_gps.id}>{$_gps.device_number}</option>
                            </foreach>
                            </select>
                        </div>
                    </div>
                    <!-- <div class="form-group">
                        <label for="bank" class="col-sm-2 control-label">车型构成</label>
                        <div class="col-sm-10">
                            <select id="bank" name="car_model" class="form-control">
                            <foreach name="carModels" item="_cm" >
                                <if condition="$key eq $info['car_model']">
                                    <option value={$key} selected>{$_cm}</option>
                                <else />
                                    <option value={$key}>{$_cm}</option>
                                </if>
                            </foreach>
                            </select>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="bank" class="col-sm-2 control-label">年限</label>
                        <div class="col-sm-10">
                            <select id="bank" name="year_limit" class="form-control">
                            <foreach name="yearLimits" item="_cm" >
                                <if condition="$key eq $info['year_limit']">
                                    <option value={$key} selected>{$_cm}</option>
                                <else />
                                    <option value={$key}>{$_cm}</option>
                                </if>
                            </foreach>
                            </select>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="department" class="col-sm-2 control-label">省内外</label>
                        <div class="col-sm-10">
                            <label class="radio-inline">
                              <input type="radio" name="is_province" id="inlineRadio1" value="0" {$info['is_province'] ? '' : 'checked'}> 省外
                            </label>
                            <label class="radio-inline">
                              <input type="radio" name="is_province" id="inlineRadio2" value="1" {$info['is_province'] ? 'checked' : ''}> 省内
                            </label>
                        </div>
                    </div>

                    <div class="form-group">
                        <label for="department" class="col-sm-2 control-label">税</label>
                        <div class="col-sm-10">
                            <foreach name="financeRanges" item="_vfg" >
                                <if condition=" in_array($key,$tmpFR)">
                                    <label class="checkbox-inline">
                                      <input checked="true" type="checkbox" name='finance_range[]' value={$key}>{$_vfg}
                                    </label>
                                <else />
                                    <label class="checkbox-inline">
                                      <input type="checkbox" name='finance_range[]' value={$key}>{$_vfg}
                                    </label>
                                </if>
                            </foreach>
                        </div>
                    </div> -->
                </div>

                <div class="list-block">
                    <input type="submit" class="button01" value="提交">
                    <input type="reset" class="button01" value="重置">
                </div>
            </div>
        </form>
        </div>
    </div>
</div>
</body>
</html>